package com.itheima.c04_模拟简历信息;

public class Student extends Person{
    public Student(String name, int age, String address) {
        super(name, age, address);
    }

    @Override
    public void info() {
        System.out.println(this);
    }

    @Override
    public void write() {
        info();
        System.out.println("我是一名学生，正在学习java");
    }
}


